﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoboAssembleX.Application.AddNeedle1
{
    public class AddNeedle1Model: BindableBase
    {
        //料位占用
        private bool posUsed; public bool PosUsed { get { return posUsed; } set { posUsed = value; RaisePropertyChanged(); } }
        //放料
        private bool allowPut; public bool AllowPut { get { return allowPut; } set { allowPut = value; RaisePropertyChanged(); } }
        //取料
        private bool allowRemove; public bool AllowRemove { get { return allowRemove; } set { allowRemove = value; RaisePropertyChanged(); } }
        //运行中
        private bool running; public bool Running { get { return running; } set { running = value; RaisePropertyChanged(); } }
        //运行计时
        private int runTimeCount; public int RunTimeCount { get => runTimeCount; set { runTimeCount = value; RaisePropertyChanged(); } }
        //停止计时
        private int stopTimeCount; public int StopTimeCount { get => stopTimeCount; set { stopTimeCount = value; RaisePropertyChanged(); } }
        //读取数据标志位
        private bool readDataFlag; public bool ReadDataFlag { get => readDataFlag; set { readDataFlag = value; RaisePropertyChanged(); } }
    }
}
